<template>
    <div class="page-container index-container">
        <div class="info-part">
            <div class="title">
                <h1>钱塘新区</h1>
                <span>分析 / 评价 / 决策</span>
            </div>
            <div class="part">
                <div>
                    <div class="liStatics">
                        <div class="name">综合指数</div>
                        <div class="score">3.72</div>
                    </div>
                    <div class="imgbox"></div>
                </div>
                <div>
                    <div class="liStatics">
                        <div class="name">均衡系数</div>
                        <div class="score">0.15</div>
                    </div>
                    <div class="imgbox"></div>
                </div>
            </div>
        </div>
        <div class="m-min-mainBox">
            <div class="gen-row">
                <div class="l-genBox gen-shadow u-flex_col">
                    <div class="tit">评价体系指标学段差异</div>
                    <div class="u-flex" style="padding-right:20px;">
                        <u-radarEchart
                        :keyId="'third1'" position="right col"
                        :legend="legendList1" :list="list1">
                    </u-radarEchart>
                    </div>
                </div>
                <div class="r-genBox gen-shadow u-flex_col">
                    <div class="tit">评价内容指标学段差异</div>
                    <div class="u-flex" style="padding:0 40px 20px 10px;">
                        <u-lineEchart 
                        :keyId="'third4'" yAxisName="评价指数" :grid="{bottom:80}"
                        :legend="legendList4" :list="list4" :markVal="3.5" smooth isHasScatter>
                        </u-lineEchart>
                    </div>
                </div>
            </div>

            <div class="gen-row pdt20">
                <div class="fullgenBox gen-shadow u-flex_col">
                    <div class="tit">维度指标对比</div>
                    <div class="u-flex" style="padding:0 40px 20px 10px;" key="third2">
                        <!-- <u-barEchart
                        :keyId="'third2'" yAxisName="评价指数" :grid="{bottom:100}"
                        :legend="legendList2" :list="list2" :markVal="3.5" hasDiff>
                        </u-barEchart> -->
                        <u-barEchart
							:keyId="'third2'" 
							:legend="legendList23" :grid="{bottom:100}" :list="list23" hasDiff hasLine yAxisName="评价指数" :markVal="3.5">
						</u-barEchart>
                    </div>
                </div>
            </div>
            <!-- <div class="gen-row pdt20">
                <div class="fullgenBox gen-shadow u-flex_col">
                    <div class="tit">中学-维度指标对比</div>
                    <div class="u-flex" style="padding:0 40px 20px 10px;">
                        <u-barEchart
                        :keyId="'third3'" yAxisName="评价指数" :grid="{bottom:100}"
                        :legend="legendList2" :list="list3" :markVal="3.9" hasDiff>
                        </u-barEchart>
                    </div>
                </div>
            </div> -->
        </div>
    </div>
</template>

<script>
export default {
    data(){
        return{
            legendList1:[
                {name:'小学',color:'#00cd86'},
                {name:'初中',color:'#3594ff'},
            ],
            list1:[
                {name:"学生综合素质发展",radarMax:5,value:[4.05,4.12]},
                {name:"学校创新发展",radarMax:5,value:[2.55,3.05]},
                {name:"教师专业能力",radarMax:5,value:[2.12,4.95]},
            ],
            legendList4:[
                {name:'小学',color:'#00cd86',areaStyleColor:"#00cd86"},
                {name:'初中',color:'#3594ff',areaStyleColor:"#3594ff"},
                {name:'需关注',min:0,max:2,color:'#ff7b12',areaStyleColor:"#ff7b12"},
            ],
            list4:[
                {name:"学生特质",value:[2.52,3.13]},
                {name:"教师行为",value:[1.94,3.25]},
                {name:"领导风格",value:[3.56,4.17]},
                {name:"学校环境",value:[3.19,4.05]},
                {name:"师德修养",value:[4.05,4.62]},
                {name:"教学能力",value:[2.21,2.93]},
                {name:"教育能力",value:[2.92,3.44]},
                {name:"教研能力",value:[3.33,4.15]},
                {name:"创新行为",value:[3.84,4.16]},
                {name:"品德素养",value:[2.92,2.93]},
                {name:"身心素养",value:[2.14,4.05]},
                {name:"学业素养",value:[3.06,2.27]},
                {name:"实践创新素养",value:[3.58,4.19]},
                {name:"艺术素养",value:[3.04,3.92]},
            ],
            legendList2:[
                {name:'学校创新发展',key:1,color:'#fdb628',itemcolor:['#ffc600','#ff9000']},
                {name:'教师专业能力',key:2,color:'#6374f7',itemcolor:['#7686ff','#595fec']},
                {name:'学生综合素质发展',key:3,color:'#00cd86',itemcolor:['#2dd681','#23c5a2']},
            ],
            list2:[
                {name:"创新素养",key:1,value:[4.22]},
                {name:"创造性教学",key:1,value:[3.01]},
                {name:"创造力培养",key:1,value:[4.93]},
                {name:"创造性特征",key:1,value:[4.24]},
                {name:"创造性行为",key:1,value:[4.15]},
                {name:"物理环境",key:1,value:[2.96]},
                {name:"人文环境",key:1,value:[4.86]},
                {name:"教学过程和方法",key:1,value:[4.55]},
                {name:"爱国守法",key:2,value:[2.94]},
                {name:"爱岗敬业",key:2,value:[4.43]},
                {name:"教师的基本素质",key:2,value:[3.82]},
                {name:"关爱学生",key:2,value:[2.91]},
                {name:"文献综述能力",key:2,value:[4.12]},
                {name:"教书育人",key:2,value:[4.86]},
                {name:"研究设计能力",key:2,value:[3.97]},
                {name:"为人师表",key:2,value:[4.58]},
                {name:"研究方法的运用能力",key:2,value:[2.99]},
                {name:"终身学习",key:2,value:[4.11]},
                {name:"资料收集与处理能力",key:2,value:[4.02]},
                {name:"教师教学目标和内容",key:2,value:[2.93]},
                {name:"撰写和写作论文的能力",key:2,value:[4.14]},
                {name:"成果应用能力",key:2,value:[3.85]},
                {name:"创造性教学",key:2,value:[4.36]},
                {name:"创造力培养",key:2,value:[4.17]},
                {name:"体质健康",key:2,value:[3.98]},
                {name:"行为习惯",key:3,value:[3.29]},
                {name:"心理健康",key:3,value:[3.01]},
                {name:"公民素养",key:3,value:[3.22]},
                {name:"语文",key:3,value:[3.03]},
                {name:"人格品质",key:3,value:[3.24]},
                {name:"数学",key:3,value:[3.05]},
                {name:"科学",key:3,value:[3.25]},
                {name:"理想信念",key:3,value:[3.06]},
                {name:"英语",key:3,value:[3.27]},
                {name:"学习动机",key:3,value:[3.08]},
                {name:"学业负担",key:3,value:[4.19]},
                {name:"自我效能",key:3,value:[4.02]},
                {name:"艺术知识掌握的客观依据",key:3,value:[2.94]},
                {name:"学习能力",key:3,value:[4.16]},
                {name:"艺术表现的主观评价",key:3,value:[2.98]},
                {name:"创新特质",key:3,value:[4.43]},
                {name:"创新实践",key:3,value:[3.85]},
                {name:"创新成就",key:3,value:[4.07]},
            ],
            list3:[
                {name:"创新素养",key:1,value:[4.51]},
                {name:"创造性教学",key:1,value:[4.12]},
                {name:"创造力培养",key:1,value:[3.53]},
                {name:"创造性特征",key:1,value:[4.04]},
                {name:"创造性行为",key:1,value:[3.75]},
                {name:"物理环境",key:1,value:[4.86]},
                {name:"人文环境",key:1,value:[2.57]},
                {name:"教学过程和方法",key:1,value:[4.58]},
                {name:"爱国守法",key:2,value:[4.96]},
                {name:"爱岗敬业",key:2,value:[3.44]},
                {name:"教师的基本素质",key:2,value:[2.52]},
                {name:"关爱学生",key:2,value:[3.91]},
                {name:"文献综述能力",key:2,value:[4.13]},
                {name:"教书育人",key:2,value:[4.55]},
                {name:"研究设计能力",key:2,value:[3.57]},
                {name:"为人师表",key:2,value:[2.59]},
                {name:"研究方法的运用能力",key:2,value:[3.52]},
                {name:"终身学习",key:2,value:[4.54]},
                {name:"资料收集与处理能力",key:2,value:[4.16]},
                {name:"教师教学目标和内容",key:2,value:[3.68]},
                {name:"撰写和写作论文的能力",key:2,value:[4.87]},
                {name:"成果应用能力",key:2,value:[4.26]},
                {name:"创造性教学",key:2,value:[4.35]},
                {name:"创造力培养",key:2,value:[3.14]},
                {name:"体质健康",key:2,value:[2.93]},
                {name:"行为习惯",key:3,value:[3.22]},
                {name:"心理健康",key:3,value:[4.91]},
                {name:"公民素养",key:3,value:[4.02]},
                {name:"语文",key:3,value:[3.12]},
                {name:"人格品质",key:3,value:[2.21]},
                {name:"数学",key:3,value:[3.53]},
                {name:"科学",key:3,value:[3.95]},
                {name:"理想信念",key:3,value:[4.87]},
                {name:"英语",key:3,value:[3.15]},
                {name:"学习动机",key:3,value:[4.53]},
                {name:"学业负担",key:3,value:[4.01]},
                {name:"自我效能",key:3,value:[2.92]},
                {name:"艺术知识掌握的客观依据",key:3,value:[4.92]},
                {name:"学习能力",key:3,value:[4.13]},
                {name:"艺术表现的主观评价",key:3,value:[4.55]},
                {name:"创新特质",key:3,value:[4.47]},
                {name:"创新实践",key:3,value:[3.89]},
                {name:"创新成就",key:3,value:[4.05]},
            ],
            legendList23:[
                {name:'小学',key:1,color:'#2188E7',itemcolor:['#51A6FA','#3D38EE']},
                {name:'初中',type:'Line',color:'#FFB600'},
            ],
            list23:[
                {name:"创新素养",key:1,value:[4.22],lineval:[4.51]},
                {name:"创造性教学",key:1,value:[3.01],lineval:[4.12]},
                {name:"创造力培养",key:1,value:[4.93],lineval:[3.53]},
                {name:"创造性特征",key:1,value:[4.24],lineval:[4.04]},
                {name:"创造性行为",key:1,value:[4.15],lineval:[3.75]},
                {name:"物理环境",key:1,value:[2.96],lineval:[4.11]},
                {name:"人文环境",key:1,value:[4.86],lineval:[2.57]},
                {name:"教学过程和方法",key:1,value:[4.55],lineval:[4.58]},
                {name:"爱国守法",key:1,value:[2.94],lineval:[2.96]},
                {name:"爱岗敬业",key:1,value:[4.43],lineval:[3.44]},
                {name:"教师的基本素质",key:1,value:[3.82],lineval:[2.52]},
                {name:"关爱学生",key:1,value:[2.91],lineval:[3.91]},
                {name:"文献综述能力",key:1,value:[4.12],lineval:[4.13]},
                {name:"教书育人",key:1,value:[4.86],lineval:[4.55]},
                {name:"研究设计能力",key:1,value:[3.97],lineval:[3.57]},
                {name:"为人师表",key:1,value:[4.58],lineval:[2.59]},
                {name:"研究方法的运用能力",key:1,value:[2.99],lineval:[3.52]},
                {name:"终身学习",key:1,value:[4.11],lineval:[4.54]},
                {name:"资料收集与处理能力",key:1,value:[4.02],lineval:[3.16]},
                {name:"教师教学目标和内容",key:1,value:[2.93],lineval:[3.68]},
                {name:"撰写和写作论文的能力",key:1,value:[4.14],lineval:[3.55]},
                {name:"成果应用能力",key:1,value:[3.85],lineval:[4.26]},
                {name:"创造性教学",key:1,value:[4.36],lineval:[4.35]},
                {name:"创造力培养",key:1,value:[4.17],lineval:[3.14]},
                {name:"体质健康",key:1,value:[3.98],lineval:[2.93]},
                {name:"行为习惯",key:1,value:[3.29],lineval:[3.22]},
                {name:"心理健康",key:1,value:[3.01],lineval:[4.91]},
                {name:"公民素养",key:1,value:[3.22],lineval:[4.02]},
                {name:"语文",key:1,value:[3.03],lineval:[3.12]},
                {name:"人格品质",key:1,value:[3.24],lineval:[2.21]},
                {name:"数学",key:1,value:[3.05],lineval:[3.53]},
                {name:"科学",key:1,value:[3.25],lineval:[3.95]},
                {name:"理想信念",key:1,value:[3.06],lineval:[3.55]},
                {name:"英语",key:1,value:[3.27],lineval:[3.15]},
                {name:"学习动机",key:1,value:[3.08],lineval:[4.53]},
                {name:"学业负担",key:1,value:[4.19],lineval:[4.01]},
                {name:"自我效能",key:1,value:[4.02],lineval:[2.92]},
                {name:"艺术知识掌握的客观依据",key:1,value:[2.94],lineval:[4.20]},
                {name:"学习能力",key:1,value:[4.16],lineval:[4.13]},
                {name:"艺术表现的主观评价",key:1,value:[2.98],lineval:[4.55]},
                {name:"创新特质",key:1,value:[4.43],lineval:[4.47]},
                {name:"创新实践",key:1,value:[3.85],lineval:[3.89]},
                {name:"创新成就",key:1,value:[4.07],lineval:[4.05]},
            ],
        }
    },
    mounted(){
        this.getChart()
    },
    methods:{
        changeTab(index){
            this.activeTab = index;
            this.$refs['activeBg'].style.left = (index*150) + "px";
        },
        getChart(){
        },
        
    }
}
</script>

<style lang="scss" scoped>

.l-genBox{
    float: left;
    width: 510px;
    height: 450px;
    margin-right: 24px;
    border-radius: 5px;
    background: #FFF;
    overflow: hidden;
}
.r-genBox{
    height: 450px;
    border-radius: 5px;
    background: #FFF;
    overflow: hidden;
}
.l-genBox,.r-genBox{
    .tit{
        width: 100%;
        padding: 20px 30px;
        font-size: 18px;
        color: #333333;
        font-weight: bold;
    }
}
</style>
